package com.study.dao;

import com.study.entity.Order;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Administrator on 2017/11/6/006.
 */
public interface OrderDao extends JpaRepository<Order,Integer> {
    List<Order> findAllByUid(Integer uid);
    Order findByOrderId(String orderId);
}
